package com.whf.form;

import lombok.Data;
import lombok.Getter;

import javax.validation.constraints.NotEmpty;

/**
 * Created by Administrator on 2018/7/15 0015.
 */
@Data
@Getter
public class OrderForm {
    //买家姓名
    @NotEmpty(message = "姓名不能为空")
    private String name;
    //买家电话
    @NotEmpty(message = "电话不能为空")
    private String phone;
    //买家地址
    @NotEmpty(message = "地址不能为空")
    private String address;
    //买家微信openid
    @NotEmpty(message = "微信不能为空")
    private String openid;
    //购物车信息,商品列表
    @NotEmpty(message = "购物车不能为空")
    private String items;




}
